<?php
namespace console\controllers;

use yii\console\Controller;

class ComController extends Controller
{
    public function actionIndex()
    {
        $this->stderr('测试schedule'.PHP_EOL);
        echo date('Y-m-d H:i:s', time()).' :===test1'.PHP_EOL;
        var_dump(__DIR__);
        var_dump(str_replace('console', 'backend', __DIR__ ));
        return '测试schedule-----';
    }
}